<?php

class Front_Manager_Scripts {
    protected  $dependence = array();

    protected  $script = "
        function FrontLoaderSingleton(){
            if(FrontLoaderSingleton.instance){
                return FrontLoader.instance;
            }
            this.scriptNames = [];
            FrontLoaderSingleton.instance = this;
        }
        FrontLoaderSingleton.prototype.addScriptNames = function(scriptNames){
            this.scriptNames += scriptNames;
        }
    ";
}